/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.model;

import com.exception.DataException;
import com.javabeans.Departamento;
import java.util.List;
/**
 * @author Administrador
 */
public interface DepartamentoManager {
    public int getIdDepto() throws DataException;
    public void saveDepto(Departamento d) throws DataException;
    public Departamento getDepartamento(int idDepartamento) throws DataException;
    public List<Departamento> getDeptos() throws DataException;
    public List<Departamento> getDeptosInactivos() throws DataException;
    public void updateDepto(Departamento d) throws DataException;
    public void deleteDepto(int idDepartamento) throws DataException;
    public boolean isUseDeptoForDelete(int idDepartamento) throws DataException;
    public void darBaja(int idDepartamento) throws DataException;
    public void darAlta(int idDepartamento) throws DataException;
}
